function main(params) {
    debugger
    let self = this;
    let unitId = params.id.value;
    let groupId = self.$$getRenderElement().params.treeSelectId;
    let isnetGroupRelate = `INSERT('t_9134b6fadb2643b08ea3f6025ddb6efa',['group_id',${groupId},'unit_id',${unitId}])`
    console.log(isnetGroupRelate);
    api.EXEC_FORMULA(isnetGroupRelate).then(res => {
        console.log(res);
        document.querySelector("#page_widget_list_2f1fa6_csshandler_generate").__vue__.$$getRenderElement().$$getListElement().$$refreshData();
        self.$message.success("添加成功");
    });

}



